#!/bin/sh
whoami
eval `ssh-agent -s`
ssh cmat@10.0.1.101 -i ~/.ssh/id_rsa rm ./test.jpg 
ssh cmat@10.0.1.101 -i ~/.ssh/id_rsa python /home/cmat/Downloads/gen_overhead_schedule.py
scp -i ~/.ssh/id_rsa cmat@10.0.1.101:./test.jpg ./test.jpg
scp ./test.jpg calwushu@cmat.ucmap.org:./cmat.ucmap.org/public/media/test.jpg
kill $SSH_AGENT_PID


